<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<?=$this->config->item('charset');?>">
	<title><?=$this->config->item('site_name');?></title>
	<meta name="keywords" content="<?=$this->config->item('site_keywords');?>" />
	<meta name="description" content="<?=$this->config->item('site_description');?>" />
	<meta name="Generator" contect="爱厨房_美食菜谱系统V2">
	<meta name="mobile-agent" content="format=html5;url=http://m.ichufang.cn/">
	<meta property="qc:admins" content="4573200777613056167636" />
	<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
	<link href="<?=base_url('static/css/global.css')?>" rel="stylesheet" type="text/css" media="screen">
	<link href="<?=base_url('static/css/main.css')?>" rel="stylesheet" type="text/css" media="screen">

	<script src="<?=path_res('static/js/jquery.js')?>"></script>
	<script src="<?=path_res('static/js/jquery.lazyload.js')?>"></script>
	<script src="<?=path_res('static/js/functions.js')?>"></script>

	<!--手机访问-->
	<!--script src="http://siteapp.baidu.com/static/webappservice/uaredirect.js" type="text/javascript"></script>
	<script type="text/javascript">uaredirect("http://m.ichufang.cn");</script-->
	<script>
    $(document).ready(function(){
        $(".index_pxw_w img").lazyload({
        placeholder: "<?=base_url('static/img/white70.png')?>", 
        effect : "fadeIn"
        });
    });
    </script>

</head>
<body>
<? $this->load->view('header'); ?>

<div class="index_zzw" id="index_zzw">
			<div  class="index_zzw_main"  id="index_zzw_main">
				<div  class="zzw_item zzw_item_2" po="2" c="1">
					<ul  class="clearfix">
						<?php foreach ($caipu_zaocan as $zaocan) :?>
						<li>
							<a  target="_blank"  href="<?=site_url('recipe/'.$zaocan['id'].'')?>"  title="<?=$zaocan['title']?>"  class="img"><img  alt="<?=$zaocan['title']?>"  src="<?=$zaocan['coverImage']?>"></a>
							<div  class="c pngFix">
								<h2><a  target="_blank"  href="<?=site_url('recipe/'.$zaocan['id'].'')?>"  title="<?=$zaocan['title']?>"><?=cutstr($zaocan['title'],9,'')?></a></h2>
								<strong>制作需要 <?=$zaocan['costtime']?>分左右</strong>
								
							</div>
						</li>
						<?php endforeach;?>
					</ul>
				</div>

				<div  class="zzw_item zzw_item_3" po="3" c="2">
					<ul  class="clearfix">
						<?php foreach ($caipu_wucan as $wucan) :?>
						<li>
							<a target="_blank" href="<?=site_url('recipe/'.$wucan['id'].'')?>" title="<?=$wucan['title']?>" class="img"><img alt="<?=$wucan['title']?>" src="<?=$wucan['coverImage']?>"></a>
							<div class="c pngFix">
								<h2><a  target="_blank"  href="<?=site_url('recipe/'.$wucan['id'].'')?>" title="<?=$wucan['title']?>"><?=cutstr($wucan['title'],9,'')?></a></h2>
								<strong>制作需要 <?=$wucan['costtime']?>分左右</strong>
							</div>
						</li>
						<?php endforeach;?>
					</ul>
				</div>
				<div class="zzw_item zzw_item_4" po="4" c="3">
					<ul  class="clearfix">
						<?php foreach ($caipu_xiawucha as $xiawucha) :?>
						<li>
							<a  target="_blank"  href="<?=site_url('recipe/'.$xiawucha['id'].'')?>"  title="<?=$xiawucha['title']?>"  class="img"><img  alt="<?=$xiawucha['title']?>"  src="<?=$xiawucha['coverImage']?>"></a>
							<div  class="c pngFix">
								<h2><a  target="_blank"  href="<?=site_url('recipe/'.$xiawucha['id'].'')?>"  title="<?=$xiawucha['title']?>"><?=cutstr($xiawucha['title'],9,'')?></a></h2>
								<strong>制作需要 <?=$xiawucha['costtime']?>分左右</strong>
								
							</div>
						</li>
						<?php endforeach;?>
					</ul>
				</div>
				<div  class="zzw_item zzw_item_5" po="5" c="4">
					<ul  class="clearfix">
						<?php foreach ($caipu_yexiao as $yexiao) :?>
						<li>
							<a  target="_blank"  href="<?=site_url('recipe/'.$yexiao['id'].'')?>"  title="<?=$yexiao['title']?>"  class="img"><img  alt="<?=$yexiao['title']?>"  src="<?=$yexiao['coverImage']?>"></a>
							<div  class="c pngFix">
								<h2><a  target="_blank"  href="<?=site_url('recipe/'.$yexiao['id'].'')?>"  title="<?=$yexiao['title']?>"><?=cutstr($yexiao['title'],9,'')?></a></h2>
								<strong>制作需要 <?=$yexiao['costtime']?>分左右</strong>
								
							</div>
						</li>
						<?php endforeach;?>
					</ul>
				</div>
				<div  class="zzw_item zzw_item_1" po="1" c="5">
					<ul  class="clearfix">
						<?php foreach ($caipu_wancan as $wancan) :?>
						<li>
							<a  target="_blank"  href="<?=site_url('recipe/'.$wancan['id'].'')?>"  title="<?=$wancan['title']?>"  class="img"><img  alt="<?=$wancan['title']?>"  src="<?=$wancan['coverImage']?>"></a>
							<div  class="c pngFix">
								<h2><a  target="_blank"  href="<?=site_url('recipe/'.$wancan['id'].'')?>"  title="<?=$wancan['title']?>"><?=cutstr($wancan['title'],9,'')?></a></h2>
								<strong>制作需要 <?=$wancan['costtime']?>分左右</strong>
								
							</div>
						</li>
						<?php endforeach;?>
					</ul>
				</div>
			</div>
			<div class="maskleft" id="maskleft"></div>
			<div class="maskright" id="maskright"></div>
			<div class="prev_btn prev_btn_1 pngFix" id="zzw_prev_btn"></div>
			<div class="next_btn next_btn_1 pngFix" id="zzw_next_btn"></div>
			<div class="index_3meal_tab"  id="index_timelinebox">
				<div class="index_3meal_tab_w">
					<span class="timex timex_0" id="i_time4"><span>早餐时间</span></span>
					<span class="timex timex_1 timex_current" id="i_time10"><span>午餐时间</span></span>
					<span class="timex timex_2" id="i_time14"><span>下午茶时间</span></span>
					<span class="timex timex_3" id="i_time16"><span>晚餐时间</span></span>
					<span class="timex timex_4" id="i_time21"><span>夜宵时间</span></span>
				</div>
				<div class="timeline_left"></div>
				<div class="timeline_right"></div>
				<span class="time time4" id="i_time4">4:00</span>
				<span class="time time10" id="i_time10">10:00</span>
				<span class="time time14" id="i_time14">14:00</span>
				<span class="time time16" id="i_time16">16:00</span>
				<span class="time time21" id="i_time21">21:00</span>
				<span class="time time4_" id="i_time4_">4:00</span>
			</div>
</div>



<div id="main" class="clearfix">



            		<?php //foreach ($index_ppt as $ppt) :?>
						<!--a href="<?=$ppt['source']?>" target="_blank"><img width="750" height="250" src="<?=$ppt['pic']?>" alt="<?=$ppt['title']?>"></a></li-->
					<?php //endforeach;?>


<h3 class="bbtitles">时令食材</h3>

<div class="index_sc">
	<div class="index_sc_main">

			<?php foreach ($shicai_season as $season) :?>
			<a target="_blank" href="<?=site_url('ingredients/'.$season['id'].'')?>"><img src="<?=$season['pic']?>" alt="<?=$season['title']?>"><span class="name"><em></em><strong><?=$season['title']?></strong></span></a>
			<?php endforeach;?>
	</div>
</div>

<h3 class="bbtitles">最热菜谱</h3>

<div class="index_pxw_w">
	<div class="listtyle2_w clearfix">
		<div class="listtyle1_list clearfix">
			<?php $tjci=0;?>
			<?php foreach ($caipu_hot as $hrow) :?>
			<?php $tjci++;?>
			<div class="listtyle1 <?php if($tjci==1){echo 'ml0';}?>">
			<div class="big">
			<a target="_blank" href="<?=site_url('recipe/'.$hrow['id'].'')?>" title="<?=$hrow['title']?>">
			<img class="img" alt="<?=$hrow['title']?>" src="<?=$hrow['coverImage']?>"></a>
			<div class="i_w">
			<div class="i" style="margin-top: 0px;">
			<div class="c1">
				<strong><?=cutstr($hrow['title'],9,'')?></strong>
				<span>制作需要 <?=$hrow['costtime']?>分左右</span>
	            <em><?=$hrow['author']?></em>
			</div>
			</div></div>
			</div>
			</div>
			<?php endforeach;?>
			<div class="listtyle1">
				<div class="index_cplist_more">
				<h3><a href="<?=site_url('caidan')?>" target="_blank">美食菜单</a></h3> 
					<ul>
						<?php foreach ($caidan_list as $caidan) :?>
							<li><a href="<?=site_url('caidan/views/'.$caidan['id'])?>" target="_blank"><?=$caidan['title']?></a></li>
						<?php endforeach;?>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>

<h3 class="bbtitles">最新菜谱</h3>

<div class="index_pxw_w">
	<div class="listtyle2_w clearfix">
		<div class="listtyle1_list clearfix">
			<?php $tjci=0;?>
			<?php foreach ($caipu_new as $nrow) :?>
			<?php $tjci++;?>
			<div class="listtyle1 <?php if($tjci==1){echo 'ml0';}?>">
			<div class="big">
			<a target="_blank" href="<?=site_url('recipe/'.$nrow['id'].'')?>" title="<?=$nrow['title']?>">
			<img class="img" alt="<?=$nrow['title']?>" src="<?=$nrow['coverImage']?>"></a>
			<div class="i_w">
			<div class="i" style="margin-top: 0px;">
			<div class="c1">
				<strong><?=cutstr($nrow['title'],9,'')?></strong>
				<span>制作需要 <?=$nrow['costtime']?>分左右</span>
	            <em><?=$nrow['author']?></em>
			</div>
			</div></div>
			</div>
			</div>
			<?php endforeach;?>
			<div class="listtyle1">
				<div class="index_cplist_more">
				<h3><a href="<?=site_url('article')?>" target="_blank">厨房知识</a></h3> 
					<ul>
						<?php foreach ($article_list as $article) :?>
							<li><a href="<?=site_url('article/views/'.$article['id'])?>" target="_blank"><?=$article['title']?></a></li>
						<?php endforeach;?>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>

</div>
<script src="<?=path_res('static/js/index.js')?>"></script>
<script type="text/javascript" id="bdshare_js" data="type=slide&amp;img=0&amp;pos=right&amp;uid=224457" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
var bds_config={"bdTop":171};
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000);

</script>
<? $this->load->view('footer'); ?>
